package com.shop.technicalservice.dao.user;

import java.util.List;

import com.shop.technicalservice.model.user.Userinfo;

public interface UserinfoDao {
	
	public Userinfo save(Userinfo transientInstance) throws Exception;
	
	public void delete(Userinfo persistentInstance) throws Exception;
	
	public List findAll() throws Exception;
	
	public Userinfo merge(Userinfo detachedInstance) throws Exception;
	
	public Userinfo findById(java.lang.Integer id)  throws Exception;
	
	public List findByExample(Userinfo instance)  throws Exception;
	
	public List findByProperty(String propertyName, Object value) throws Exception;
	
	public void attachDirty(Userinfo instance)  throws Exception;
	
	public void attachClean(Userinfo instance)  throws Exception;
	
	public List findByUserName(Object userName) throws Exception;
	
	public List findBySex(Object sex) throws Exception;
	
	public List findByProvince(Object province)throws Exception;
	
	public List findByCity(Object city) throws Exception;
	
	public List findByPhone(Object phone) throws Exception;
	
	
	public List findByMobile(Object mobile) throws Exception;
	
	public List findByRealName(Object realName) throws Exception;
	
	public List findByAddres(Object addres) throws Exception;
	
	public List findByPostCode(Object postCode) throws Exception;
	
	public List findByEmail(Object email) throws Exception;
	
	public List findByUcodeType(Object ucodeType) throws Exception;
	
	public List findByUcodeNumber(Object ucodeNumber) throws Exception;
}
